#!/bin/bash

jars=(`ls ./lib/`)
cp="./dest/jcer.jar"
for jar in ${jars[*]};
do
   cp=$cp":./lib/"$jar
done 
nohup java -Xmx1g -Xms1g -Xmn512m -cp $cp jcer.core.Server -m"1=jcer.task.EchoTask:2=jcer.task.HttpTask:3=jcer.task.SqlTask" $@ &

